From: revisto Date: Wed, 17 Dec 2025 21:13:47 +0000 (+0330) Subject: calendar: Center align "No Notifications" text X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~44^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8efd2ec8b9c62cac7e875bc8d7b596b2b1f90f7c;p=gnome-shell.git calendar: Center align "No Notifications" text The "No Notifications" placeholder was left-aligned instead of centered, which looked unbalanced in the empty notification state. Fix by centering the label. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8913 Part-of: --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 6bb22dde6..114b3d351 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -770,7 +770,10 @@ class Placeholder extends St.BoxLayout { this._icon = new St.Icon({icon_name: 'no-notifications-symbolic'}); this.add_child(this._icon); - this._label = new St.Label({text: _('No Notifications')}); + this._label = new St.Label({ + text: _('No Notifications'), + x_align: Clutter.ActorAlign.CENTER, + }); this.add_child(this._label); } });